package com.example.newspublish.service;


import com.example.newspublish.pojo.dto.UserDTO;
import com.example.newspublish.pojo.form.RegisterForm;
import com.example.newspublish.util.result.Result;

public interface UserService {

    Result login(String username, String password);

    Result register(RegisterForm registerForm);

    void updateInfo(UserDTO userDTO);
}
